package chapters22.class1;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by xinxuchu on 2020/8/18.
 */


@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Format {

    String pattern() default "yyyy-MM-dd HH:mm:ss";
    String Timezone() default "GMT+8";
}
